You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > Shift Method > MatrixInt.Shift Method ([In] TMtxVecInt, [In] int, [In] int, [In] int, [In] int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.Shift Method ([In] TMtxVecInt, [In] int, [In] int, [In] int, [In] int)

A shift on vector elements in range.

Syntax
C#
Visual Basic
public TMtxVecInt Shift([In] TMtxVecInt Src, [In] int Offset, [In] int SrcIndex, [In] int Index, [In] int Len);

Performs a shift on source vector elements in specified range [SrcIndex .. SrcIndex+Len-1] and stores them to calling vector elements [Index .. Index+Len-1]. The number of elements to shift is specified in the Offset parameter. Offset can be any integer number, positive or negative. 

An exception is raised if array borders are overrun/underrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!